import request from '@/utils/request';
import { AxiosPromise } from 'axios';

/**
 * 查询账户信息列表
 * @param query
 * @returns {*}
 */

export const getBannerList = (query?: BannerList): AxiosPromise<BannerList[]> => {
  return request({
    url: '/system/slideshow/list',
    params: query,
    method: 'get'
  });
};

export interface BannerList extends PageQuery {
  /**
   * 主键
   */
  id?: number;

  /**
   * 名称
   */
  url?: string;
}
